package com.ruimei.entitys.enums;

import com.ruimei.util.CommUtil;

public enum LowEdu
{
  SPECIALTY("专科"),  UNDERGRADUATE("本科"),  MASTER("硕士"),  DOCTOR("博士"),  OTHER("其它");
  
  private String name;
  
  public String getName()
  {
    return this.name;
  }
  
  public void setName(String name)
  {
    this.name = name;
  }
  
  public static LowEdu values(String lowEdu)
  {
    if (CommUtil.isEmpty(lowEdu)) {
      return null;
    }
    switch (lowEdu)
    {
    case "SPECIALTY": 
      return SPECIALTY;
    case "UNDERGRADUATE": 
      return UNDERGRADUATE;
    case "MASTER": 
      return MASTER;
    case "DOCTOR": 
      return DOCTOR;
    case "OTHER": 
      return OTHER;
    }
    return null;
  }
  
  public static LowEdu value(Object lowEdu)
  {
    return values(String.valueOf(lowEdu));
  }
  
  private LowEdu(String name)
  {
    this.name = name;
  }
  
  public static LowEdu matching(String ch)
  {
    switch (ch)
    {
    case "专科": 
      return SPECIALTY;
    case "本科": 
      return UNDERGRADUATE;
    case "硕士": 
      return MASTER;
    case "博士": 
      return DOCTOR;
    case "其它": 
      return OTHER;
    }
    return OTHER;
  }
}


/* Location:              E:\360MoveData\Users\admin\Desktop\teacher_wap-0.0.1-SNAPSHOT.jar!\BOOT-INF\classes\com\ruimei\entitys\enums\LowEdu.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       0.7.1
 */